package asia.lics.system.domain;


import asia.lics.common.annotation.Excel;
import asia.lics.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 【请填写功能名称】对象 c_test_paper_info
 *
 * @author ss-tutor
 * @date 2024-11-16
 */
public class CTestPaperInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    private Long id;

    /**
     * 题目
     */
    @Excel(name = "题目")
    private String title;

    /**
     * 答案
     */
    @Excel(name = "答案")
    private String answer;

    /**
     * 选项
     */
    @Excel(name = "选项")
    private String options;

    /**
     * 试卷id
     */
    @Excel(name = "试卷id")
    private Long testPaperId;

    /**
     * 分析
     */
    @Excel(name = "分析")
    private String analysis;

    /**
     * 类型 单选 简单 问答
     */
    @Excel(name = "类型 单选 简单 问答")
    private String type;

    /**
     * 排序
     */
    @Excel(name = "排序")
    private Long sort;

    /**
     * 分数
     */
    @Excel(name = "分数")
    private BigDecimal score;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public String getOptions() {
        return options;
    }

    public void setOptions(String options) {
        this.options = options;
    }

    public Long getTestPaperId() {
        return testPaperId;
    }

    public void setTestPaperId(Long testPaperId) {
        this.testPaperId = testPaperId;
    }

    public String getAnalysis() {
        return analysis;
    }

    public void setAnalysis(String analysis) {
        this.analysis = analysis;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Long getSort() {
        return sort;
    }

    public void setSort(Long sort) {
        this.sort = sort;
    }

    public BigDecimal getScore() {
        return score;
    }

    public void setScore(BigDecimal score) {
        this.score = score;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("title", getTitle())
                .append("answer", getAnswer())
                .append("options", getOptions())
                .append("testPaperId", getTestPaperId())
                .append("analysis", getAnalysis())
                .append("type", getType())
                .append("sort", getSort())
                .append("score", getScore())
                .toString();
    }
}
